package com.school.hjt.schoolclasscard;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

import com.school.hjt.schoolclasscard.ui.Main2Activity;

/**
 * Created by xqx on 2017/10/27.
 *
 */

public class BootCompletedReceiver extends BroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent) {
//        Intent mBootIntent = new Intent(context, Main.class);
//        //下面这句话必须加上才能开机自动运行app的界面
//        mBootIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
//        context.startActivity(mBootIntent);
    }
}
